package br.com.wagnerpaz.javahook;

/**
 * @author Wagner Paz
 * @since  1.0
 */
public interface NativeKeyboardListener
{
	/**
	 * Invoked when a key has been pressed.
	 * 
	 * @param e Event information.
	 * @return true, case the event have to be processed by the system.
	 */
	public boolean keyPressed (NativeKeyboardEvent e);
	
	/**
	 * Invoked when a key has been released.
	 * 
	 * @param e Event information.
	 * @return true, case the event have to be processed by the system.
	 */
	public boolean keyReleased(NativeKeyboardEvent e);
}